{include file="common/header"}
<link rel="stylesheet" href="__CSS__/forum.css">
</head>
<body>
    <!-- 1908080121李定邦、1902030115李龙烽 -->
    <div style="background-color: #fff;">
        <div class="top">
            <div class="top-left">
                <div class="top-left-title">
                    <a href=""></a><img src="__PIC__/thinkphp-logo.png" alt="">
                </div>
                <div  class="top-left-list">
                    <ul>
                        <li><a href="#">文档</a></li>
                        <li><a href="#">应用</a></li>
                        <li><a href="#">扩展</a></li>
                        <li><a href="#">资讯</a></li>
                        <li><a href="#">生态</a></li>
                        <li><a href="#">赞助</a></li>
                        <li><a href="#">云市场</a></li>
                    </ul>
                </div>
                <div class="sreach-right">
                        <div class="sreach">
                            <input  class="form-control search-input" required type="search" name='keyword' placeholder="搜索" />
                        </div>
                        {if session('uNick') != null}
                        <div style="display: flex;flex-direction: column;margin-left: 15px;">
                            <img src="__POT__/{:cookie('uImg')}" alt="" style="width: 50px;height: 50px;margin-left: 35px;border-radius: 10px;margin-right: -15px;">
                            欢迎你：{:session('uNick')}
                        </div>

                        <div class="putton">
                            <a href="{:url('user/me')}">
                                <input type="button" style="color: white;background-color: rgb(48, 161, 48);border-radius: 5%;height: 30px;margin-left: 15px;" value="用户中心">
                            </a>
                            <a href="{:url('user/logout')}">
                                <input type="button" style="color: white;background-color: rgb(48, 161, 48);border-radius: 5%;height: 30px;margin-left: 15px;" value="注销">
                            </a>
                        </div>
                    {else/}
                    <div class="top-right">
                        <div class="puton">
                            <a href="{:url('user/login')}">
                                <input type="button" style="color: white;" value="立即登录">
                            </a>
                            <a href="{:url('user/register')}">
                                <input type="button" style="color: white;" value="注册">
                            </a>
                            <a href="{:url('user/logout')}">
                                <input type="button" style="color: white;" value="注销">
                            </a>
                        </div>
                    </div>
                    {/if}
                </div>
            </div>
        </div>
        <div class="sreach-center">
            <div>
                <a href="" style="color: black;margin-left: 220px;">首页内容建设中......</a>
            </div>
        </div>
    </div>
</body>
</html>